//将路由注册为vue的插件
import Vue  from "vue";
import VueRouter from "vue-router"
Vue.use(VueRouter)

import routes from "../routes/routes"
const router = new VueRouter({
  routes
})

export default router
